package com.oms.domain;

import java.sql.Timestamp;

/**
 * Friend entity. @author MyEclipse Persistence Tools
 */

public class Friend implements java.io.Serializable {

	

	/**
	 * 
	 */
	private static final long serialVersionUID = 5502844229919941638L;
	
	// Fields
	private Integer frienddId;
	private User userByUserId;
	private User userByFriendUserId;
	private Short addState;
	private String friendRemark;
	private Boolean deleteTag;
	private Timestamp lastUpdateTime;

	// Constructors

	/** default constructor */
	public Friend() {
	}

	/** minimal constructor */
	public Friend(User userByUserId, User userByFriendUserId, Short addState,
			String friendRemark, Boolean deleteTag) {
		this.userByUserId = userByUserId;
		this.userByFriendUserId = userByFriendUserId;
		this.addState = addState;
		this.friendRemark = friendRemark;
		this.deleteTag = deleteTag;
	}

	/** full constructor */
	public Friend(User userByUserId, User userByFriendUserId, Short addState,
			String friendRemark, Boolean deleteTag, Timestamp lastUpdateTime) {
		this.userByUserId = userByUserId;
		this.userByFriendUserId = userByFriendUserId;
		this.addState = addState;
		this.friendRemark = friendRemark;
		this.deleteTag = deleteTag;
		this.lastUpdateTime = lastUpdateTime;
	}

	// Property accessors

	public Integer getFrienddId() {
		return this.frienddId;
	}

	public void setFrienddId(Integer frienddId) {
		this.frienddId = frienddId;
	}

	public User getUserByUserId() {
		return this.userByUserId;
	}

	public void setUserByUserId(User userByUserId) {
		this.userByUserId = userByUserId;
	}

	public User getUserByFriendUserId() {
		return this.userByFriendUserId;
	}

	public void setUserByFriendUserId(User userByFriendUserId) {
		this.userByFriendUserId = userByFriendUserId;
	}

	public Short getAddState() {
		return this.addState;
	}

	public void setAddState(Short addState) {
		this.addState = addState;
	}

	public String getFriendRemark() {
		return this.friendRemark;
	}

	public void setFriendRemark(String friendRemark) {
		this.friendRemark = friendRemark;
	}

	public Boolean getDeleteTag() {
		return this.deleteTag;
	}

	public void setDeleteTag(Boolean deleteTag) {
		this.deleteTag = deleteTag;
	}

	public Timestamp getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Timestamp lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

}